package com.example.wordfilter.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = "word-filter.reader")
public class WordReaderProperties {

    private Boolean censorWordEnable = false;
    private String censorWordsLocation = "data/censorWords.txt";
    private boolean dfaEnabled = false;
    private boolean iteratorEnabled = true;

    public Boolean getCensorWordEnable() {
        return censorWordEnable;
    }

    public void setCensorWordEnable(Boolean censorWordEnable) {
        this.censorWordEnable = censorWordEnable;
    }

    public String getCensorWordsLocation() {
        return censorWordsLocation;
    }

    public void setCensorWordsLocation(String censorWordsLocation) {
        this.censorWordsLocation = censorWordsLocation;
    }

    public boolean getDfaEnabled() {
        return dfaEnabled;
    }

    public void setDfaEnabled(boolean dfaEnabled) {
        this.dfaEnabled = dfaEnabled;
    }

    public boolean getIteratorEnabled() {
        return iteratorEnabled;
    }

    public void setIteratorEnabled(boolean iteratorEnabled) {
        this.iteratorEnabled = iteratorEnabled;
    }
}
